import { OnDestroy ,Directive, ElementRef, Input, Renderer } from '@angular/core';


@Directive({
     selector: '[myContent]' 
    })
export class MyContentDirective implements OnDestroy  {
    
    constructor(el: ElementRef, renderer: Renderer) {
        jQuery(el.nativeElement).css("top","0px");
        jQuery(el.nativeElement).css("left","0px");
        jQuery(el.nativeElement).css("right","0px");
        jQuery(el.nativeElement).css("position","relative");
        jQuery(el.nativeElement).css("display","flex");
        jQuery(el.nativeElement).css("height","calc(100% - 40px)");
    }

    
    ngOnDestroy(){
    } 
}